Let's set up what will happen when the player makes a basket.
- Go to and drag Collision with Other Sprite to the bottom of your program.
- Find the first line in the event def·collision(sprite,·hit_sprite): Change the word sprite to ball.
- Find the last line in the event sprite.event_collision(collision) Change the word sprite to ball.
To navigate the page using the TAB key, first press ESC to exit the code editor.